package com.lesso.lpq.sunflower.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("base_device")
public class Device extends BaseModel<Device> {

    private static final long serialVersionUID = 1L;

    public static final String DEVICE_CODE = "device_code";
    public static final String DEVICE_NAME = "device_name";


    @TableField("device_code")
    private String deviceCode;


    @TableField("device_name")
    private String deviceName;


    @TableField("del_status")
    @TableLogic
    private Integer delStatus;
}
